Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 26: Controlling the Viewpoint

../ch26/26fig06b.gif
Figure 26.6b

A viewpoint with a 120.0-degree field of view. Compare with Figure 26.6a.

26fig06b.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Group {
    children [
        Viewpoint {
            description "90.0 FOV degree corner view"
            position 3.0 1.6 3.0
            orientation 0.0 1.0 0.0 0.611
            fieldOfView 1.57
        },
        NavigationInfo {
            type "WALK"
            speed 1.0
            headlight FALSE
            avatarSize [ 0.5, 1.6, 0.5 ]
        },
        Inline { url "dungeon.wrl" }
    ]
}